<?php

/**************************************************************
*  NUKEVIET 2.0									*
*  License: GNU/GPL											*
*  Copyright (c) 2007 by Nukeviet Group				*
*  Website: http://www.nukeviet.vn						*
*  Email: contact@nukeviet.vn								*
**************************************************************/

if ((!defined('NV_SYSTEM')) AND (!defined('NV_ADMIN'))) {
    Header("Location: ../index.php");
    exit;
}

$content = "";
global $prefix, $currentlang, $db, $module_name;
if($module_name=="About") {
	$id = intval(isset($_POST['id']) ? $_POST['id'] : $_GET['id']);
	if($id) {
		$sql = "SELECT * FROM ".$prefix."_about WHERE alanguage='".$currentlang."' AND id!='".$id."'  ORDER BY weight ASC";
		$result = $db->sql_query($sql);
		if($db->sql_numrows($result)!=0) {
			while ($row = $db->sql_fetchrow($result)) {
				$content .= "<div style=\"font-family: Arial; font-size: 12px; margin-top:2px; margin-bottom:2px\">&nbsp;<img align=\"absmiddle\" border=\"0\" src=\"".INCLUDE_PATH."images/arrow_n.gif\" width=\"5\" height=\"5\"> <a href=\"modules.php?name=".$module_name."&amp;id=".intval($row['id'])."\">".stripslashes($row['title'])."</a></div>\n";
			}
		}
	}
}
echo $content."hiep";

?>
